/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.publish.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.publish.entity.PublishCompany;
import com.jeeplus.modules.publish.mapper.PublishCompanyMapper;

/**
 * 出版社Service
 * @author dongqi
 * @version 2017-09-27
 */
@Service
@Transactional(readOnly = true)
public class PublishCompanyService extends CrudService<PublishCompanyMapper, PublishCompany> {

	public PublishCompany get(String id) {
		return super.get(id);
	}
	
	public List<PublishCompany> findList(PublishCompany publishCompany) {
		return super.findList(publishCompany);
	}
	
	public Page<PublishCompany> findPage(Page<PublishCompany> page, PublishCompany publishCompany) {
		return super.findPage(page, publishCompany);
	}
	
	@Transactional(readOnly = false)
	public void save(PublishCompany publishCompany) {
		super.save(publishCompany);
	}
	
	@Transactional(readOnly = false)
	public void delete(PublishCompany publishCompany) {
		super.delete(publishCompany);
	}
	
}